﻿namespace Yt.Core.Security
{
    /// <summary>
    ///非对称加密密钥对 
    /// </summary>
    public class Keys
    {
        /// <summary>
        /// SM2公钥
        /// </summary>
        public string publicKey { get; set; }
        /// <summary>
        /// SM2私钥
        /// </summary>
        public string PrivateKey { get; set; }
        /// <summary>
        /// 初始化SM2密钥对 
        /// </summary>
        /// <param name="publicKey">公钥</param>
        /// <param name="privateKey">私钥</param>
        public Keys(string publicKey, string privateKey)
        {
            this.publicKey = publicKey;
            this.PrivateKey = privateKey;
        }
    }
}
